package install.ren.exercise.test.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author jonny
 * Created on 2021/8/28
 */
@RestController
public class AopController {

    @RequestMapping("/hello")
    @ResponseBody
    public String sayHello(){
        System.out.println("hello");
        return "hello";
    }
}
